import { APIGET, APIPOST, APIPUT, APIDELETE } from '../apiToken';

export const purmamPage = (param) => APIGET('purmam/page', param);

/**
 * @exports apiInvmbPage 图书管模块列表
 */
export const apiInvmbPage = (param) => APIGET('/invmb/page', param);

/**
 * @exports apiInvmb 查询品号详情
 * @param param MB001  品号
 * @returns
 */
export const apiInvmb = (param) => APIGET('/invmb', param);
/**
 * @exports apiTsgl 查询品号信息
 * @param param
 * @returns
 */
export const apiTsgl = (param) => APIGET('/tsgl/list', param);

/**
 * @exports apiJianYan 检验
 * @returns
 */
export const apiJianYan = (param) => APIGET('/jianyan', param);

/**
 * @example apiTsglAdd 图片上传
 */
export const apiTsglAdd = (param) => APIPOST('/tsgl/add', param);
